package com.hoyue.dao;

import com.hoyue.bean.Video;

import java.sql.SQLException;
import java.util.List;

public interface VideoDao {
    /**
     * 更新视频内容
     * @param video
     * @throws SQLException
     */
    void updateVideo(Video video) throws SQLException;


    /**
     * 返回视频内容
     * @return
     * @throws SQLException
     */
    Video getVideo() throws SQLException;
}
